package org.ielse.frame.model;

import org.ielse.frame.t.litepal.crud.DataSupport;
import org.ielse.frame.util.BaseUtil;

public class AppSettings extends DataSupport {
	private long id;

	private boolean downloadImageJustWifi = false;
	private boolean shinyTrace = true;

	private int screenWidth;
	private int screenHeight;
	private int statusBarHeight;

	public AppSettings() {
		screenWidth = BaseUtil.getScreenWidth();
		screenHeight = BaseUtil.getScreenHeight();
		statusBarHeight = BaseUtil.getStatusBarHeight();
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public boolean isDownloadImageJustWifi() {
		return downloadImageJustWifi;
	}

	public void setDownloadImageJustWifi(boolean downloadImageJustWifi) {
		this.downloadImageJustWifi = downloadImageJustWifi;
	}

	public boolean isShinyTrace() {
		return shinyTrace;
	}

	public void setShinyTrace(boolean shinyTrace) {
		this.shinyTrace = shinyTrace;
	}

	public int getScreenWidth() {
		return screenWidth;
	}

	public void setScreenWidth(int screenWidth) {
		this.screenWidth = screenWidth;
	}

	public int getScreenHeight() {
		return screenHeight;
	}

	public void setScreenHeight(int screenHeight) {
		this.screenHeight = screenHeight;
	}

	public int getStatusBarHeight() {
		return statusBarHeight;
	}

	public void setStatusBarHeight(int statusBarHeight) {
		this.statusBarHeight = statusBarHeight;
	}

}
